package com.rpc.core.codec;

import io.netty.buffer.ByteBuf;

public interface RpcCodec {

    <T> void serialize(T obj, ByteBuf byteBuf);


    <T> Object deserialize(ByteBuf byteBuf);
}
